package com.leyou.item.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leyou.item.entity.SpuDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SpuDetailMapper extends BaseMapper<SpuDetail> {
    @Select("select description from tb_spu_detail where spu_id=#{id}")
    String querySpuDetailPreview(@Param("id") Long id);
}
